/*
 * @Author: your name
 * @Date: 2021-02-22 15:25:56
 * @LastEditTime: 2021-02-22 16:04:46
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \auth\src\controller\User.ts
 */
import jsonwebtoken from 'jsonwebtoken';
import config from '../../config/index'
class UserController {
    async login(ctx: any) {
        jsonwebtoken.sign({ _id: 'a' }, config.JWT_SECRET)
    }
}

export default new UserController;